package com.hx.service.impl;

import com.hx.dao.UserDao;
import com.hx.pojo.User;
import com.hx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;


public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User findUserById(Integer id) {
        System.out.println("service...");
        return userDao.findUserById(id);
    }
}
